home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
262_01.zip
/
DEBUG.F3
< prev
next >
Wrap
Text File
|
1993-04-14
|
2KB
|
48 lines
.hd //
.bp
.so a:ljtbl
-------------------------------------------------------------------------------------------------
page 0 | | | | | | |
-------------------------------------------------------------------------------------------------
| | | | | | |
code segment |call trap |call trap |call trap | | |call trap |
| | | | | | |
-------------------------------------------------------------------------------------------------
data segment | | | | | | |
| | | | | | |
-------------------------------------------------------------------------------------------------
free memory | | | |return address |return address | |
contains symbol| | | | | | |
table | | | | | | |
| | | | | | |
-------------------------------------------------------------------------------------------------
| | | | | | |
| | | | | | |
stack | | | | | | |
| | |fprint+3 |fprint | | |
| |return address |return address |resume |resume |return address |
| |arg1 |arg1 |arg1 |arg1 |arg1 |
| |arg2 |arg2 |arg2 |arg2 |arg2 |
-------------------------------------------------------------------------------------------------
operating | | | | | | |
system | | | | | | |
-------------------------------------------------------------------------------------------------
|memory after |fprint is |trap is called |call trap is |trap returns |resume restores|
|setup |called | |replaced with |to fprint. |original return|
|original |fprint returns |address and |
|contents. |to resume. |call trap |
|return address | |instruction |
|replaced by |
|address of |
|resume. |
Figure 3
.so a:ljstup
|original return|
|original |fprint returns |address and |
|contents. |to resume. |call trap